package com.huatai.exchange.integration.base.service;

import com.faneui.common.exception.BusinessException;
import com.huatai.base.facade.bean.user.UserVo;

import java.util.List;
import java.util.Map;

public interface UserService {

	List<UserVo> queryUserList(UserVo user) throws BusinessException;

	List<UserVo> queryAllUserList(UserVo user) throws BusinessException;

	Map<String, String> queryUserMap(UserVo user) throws BusinessException;

	List<UserVo> queryUserListByDepartmentId(String departmentId) throws BusinessException;

	UserVo queryById(String userId) throws BusinessException;

	UserVo queryByUserName(String userName) throws BusinessException;

	void doLogin(String userName, String password) throws BusinessException;

	void changePwd(String userId, String oldPwd, String newPwd) throws BusinessException;

	void changeUserStatus(String userId, String oldStatus, String newStatus) throws BusinessException;

	void resetUserPassWord(String userId) throws BusinessException;
}
